package com.zelin.service;

import com.zelin.pojo.PageResult;
import com.zelin.pojo.Student;

import java.util.List;

/**
 * Created by WF on 2021/9/14 15:15
 */
public interface StudentService {
    List<Student> findAll();

    PageResult<Student> findByPage(int page, int pageSize);

    PageResult<Student> search(int page, int pageSize, Student student);

    void add(Student student);

    void update(Student student);

    void delete(Integer sid);
}
